package com.bawei.es.service;

import com.bawei.es.domain.IndexEntry;
import com.bawei.es.domain.IndexInfoResp;

/**
 * @author : zhangyu
 * @date 2023/11/13 15:23
 */
public interface EsIndexService {
    void createIndex(IndexEntry indexEntry);

    void deleteIndex(String indexName);

    boolean isExists(String indexName);

    IndexInfoResp getIndex(String indexName);

    void updateIndex(IndexEntry indexEntry);
}
